<?php

/**
 * 会员组管理
 * File Name：GroupController.php
 * File Encoding：UTF-8
 * File New Time：2014-5-17 9:26:45
 * Author：水平凡
 * Mailbox：admin@abc3210.com
 */
class GroupController extends AdminBase {

    //分组首页
    public function actionIndex() {
        $this->basePage('MembersGroupModel', array('order' => 'experience asc'));
        $this->render();
    }

    //添加
    public function actionAdd() {
        $this->baseAdd('MembersGroupModel', 'index');
    }

    //编辑
    public function actionEdit() {
        $this->baseEdit('MembersGroupModel', 'index');
    }

    //删除
    public function actionDelete() {
        $this->baseDelete('MembersGroupModel', 'index');
    }

}
